set( target chapter11 )

set( chapter11_SOURCES
	main.cpp
	scenemandelbrot.cpp
	scenecloth.cpp
	sceneparticles.cpp
        sceneedge.cpp
)

add_executable( ${target} ${chapter11_SOURCES} )

target_compile_definitions(${target}
		PRIVATE
		GLFW_INCLUDE_NONE
		)

target_link_libraries( ${target}
		PRIVATE
		ingredients
		glfw
		${OPENGL_gl_LIBRARY}
		)

file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/shader DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
